/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hvtt.web.errorhandler;

/**
 *
 * @author Administrator
 */
public class HVTTExceptions extends Throwable{
    private int codeError;
    private String messageError="Unknown error!!";

    public HVTTExceptions() {
    }

    public HVTTExceptions(int codeError, String message) {
        super(message);
        this.codeError = codeError;
    }

    public String getMessageError() {
        return messageError;
    }

    public void setMessageError(String messageError) {
        this.messageError = messageError;
    }

    public void setCodeError(int codeError) {
        this.codeError = codeError;
    }

    public int getCodeError() {
        return codeError;
    }
    public String getMessageByLanguage(String languageID){
        return "";
    }
}
